package com.topup.pojo;

public class Card {
    private  int cardid;
    private String cardbalance;
    //学生学号
    private Student stunum;

    public Card(int cardid, String cardbalance, Student stunum) {
        this.cardid = cardid;
        this.cardbalance = cardbalance;
        this.stunum = stunum;
    }
    public Card() {

    }
    public Card(int cardid) {
        this.cardid = cardid;
    }

    public int getCardid() {
        return cardid;
    }

    public void setCardid(int cardid) {
        this.cardid = cardid;
    }

    public String getCardbalance() {
        return cardbalance;
    }

    public void setCardbalance(String cardbalance) {
        this.cardbalance = cardbalance;
    }

    public Student getStunum() {
        return stunum;
    }

    public void setStunum(Student stunum) {
        this.stunum = stunum;
    }
}

